import { httpDelete, httpPost, httpPut } from "@/utils/http";


export function addUserGroupApi(data: object) {
    return httpPost('/userGroup/add', data);
}
export function getUserGroupApi(data?: object) {
    return httpPost('/userGroup/find', data);
}
export function updateUserGroupApi(data: object) {
    return httpPut('/userGroup/update', data);
}
export function deleteUserGroupApi(data: object) {
    return httpDelete('/userGroup/remove', data);
}
export function getGroupTypeApi(data?: object) {
    return httpPost('/couponType/find', data);
}

